/*
 * @Descripttion:
 * @version:
 * @Author: ChenXiang
 * @Date: 2021-08-01 16:54:44
 * @LastEditors: ChenXiang
 * @LastEditTime: 2021-08-01 22:41:21
 */
// 渲染出来组件即可
import React from "react";
import { createBrowserHistory } from "history";
import Router from "./Router";

export default class BrowserRouter extends React.Component {
  constructor(props) {
    super(props);
    this.history = createBrowserHistory();
  }
  render() {
    return <Router history={this.history} children={this.props.children} />;
  }
}
